package router

import (
	"WXdemo/api"
	"github.com/gin-gonic/gin"
)

func SetRouter() *gin.Engine {
	gin.SetMode(gin.ReleaseMode)

	r := gin.Default()

	group := r.Group("/WXdemo")
	group.GET("/hello", api.Hello)
	return r
}
